package com.monitor.dao;

import com.monitor.entity.ErpTpmsTireInformationCar;

import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
 * 客户轮胎报警值设置表 Mapper 接口
 * </p>
 *
 * @author LX
 * @since 2018-10-09
 */
public interface ErpTpmsTireInformationCarMapper extends BaseMapper<ErpTpmsTireInformationCar> {
	@Select("SELECT id,carid,speed,pressure,pressure_small as pressureSmall,voltage_small as voltageSmall,temperature FROM erp_tpms_tire_information_car WHERE carid=#{carId}")
	public Map<String, Object> selectByCarId(@Param("carId")int carId);
}
